package com.code.question5.model;

import com.code.question5.base.RequestType;

/**
 * 用户提交消息类
 */
public class UserMessage {
    private RequestType code;
    private String tag;
    private User user;

    public UserMessage(RequestType code, String tag, User user) {
        this.code = code;
        this.tag = tag;
        this.user = user;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public RequestType getCode() {
        return code;
    }

    public void setCode(RequestType code) {
        this.code = code;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
